﻿namespace fastdb.Lexer;

public class TokenNode
{
    private int _colNumber;

    public dynamic? Content { get; set; }

    public TokenTypeEnum TokenType { get; set; }

    public int LineNumber { get; set; }

    public int ColNumber
    {
        get => _colNumber;
        set => _colNumber = Math.Max(0, value);
    }
}